/*  PrimeBlaster
    by Kjetil Eide 
    kjetile445@gmail.com

    This file is part of PrimeBlaster

    PrimeBlaster is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    PrimeBlaster is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with PrimeBlaster.  If not, see <http://www.gnu.org/licenses/>.
*/

package org.eide.spaceship;

import org.newdawn.slick.Sound;
import org.newdawn.slick.SlickException;

public class SoundData  {
	private Sound beamLoop;
	private Sound beamOff;
	private Sound boom;
	
	public SoundData() throws SlickException {
		beamLoop = new Sound("spacedata/beam_loop2.ogg");
		beamOff = new Sound("spacedata/beam_off.ogg");
		
	}
	
	public void laserOn() {
		beamLoop.loop();
	}
	
	public void laserOff() {
		beamLoop.stop();
		beamOff.play();
	}
	
	public void boom() {
		boom.play();
	}
}
